/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.publish.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.publish.entity.PublishArrivalHeader;
import com.thinkgem.jeesite.modules.publish.dao.PublishArrivalHeaderDao;

/**
 * 到货登记Service
 * @author alex
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class PublishArrivalHeaderService extends CrudService<PublishArrivalHeaderDao, PublishArrivalHeader> {

	public PublishArrivalHeader get(String id) {
		return super.get(id);
	}
	
	public List<PublishArrivalHeader> findList(PublishArrivalHeader publishArrivalHeader) {
		return super.findList(publishArrivalHeader);
	}
	
	public Page<PublishArrivalHeader> findPage(Page<PublishArrivalHeader> page, PublishArrivalHeader publishArrivalHeader) {
		return super.findPage(page, publishArrivalHeader);
	}
	
	@Transactional(readOnly = false)
	public void save(PublishArrivalHeader publishArrivalHeader) {
		super.save(publishArrivalHeader);
	}
	
	@Transactional(readOnly = false)
	public void delete(PublishArrivalHeader publishArrivalHeader) {
		super.delete(publishArrivalHeader);
	}
	
}